<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>transform对普通元素的N多渲染影响</title>
        <style>
            .zoom-half { zoom: 0.5; }
            .scale-half { transform: scale(0.5); }
        </style>
    </head>
    <body>
        <h1>CSS3 transform对普通元素的N多渲染影响</h1>
        <p><a href="https://www.zhangxinxu.com/wordpress/2015/05/css3-transform-affect/">来源</a></p>
        <p><strong>图片zoom: 0.5;</strong></p>
        <p><img src="http://image.zhangxinxu.com/image/study/s/s256/mm1.jpg" class="zoom-half"></p>
        <p><strong>图片transform: scale(0.5);</strong></p>
        <p><img src="http://image.zhangxinxu.com/image/study/s/s256/mm1.jpg" class="scale-half"></p>
        <p><strong>容器(含图文)zoom: 0.5;</strong></p>
        <p class="zoom-half">文字啊哈！<br><img src="http://image.zhangxinxu.com/image/study/s/s256/mm1.jpg"></p>
        <p><strong>容器(含图文)同时使用transform: scale(0.5);和scale(0.5)</strong></p>
        <p class="scale-half zoom-half">文字啊哈！<br><img src="http://image.zhangxinxu.com/image/study/s/s256/mm1.jpg"></p>
        <p><strong>容器(含图文)transform: scale(0.5);</strong></p>
        <p class="scale-half">文字啊哈！<br><img src="http://image.zhangxinxu.com/image/study/s/s256/mm1.jpg"></p>

    </body>
</html>